package com.woniuxy.exception.storeRegister;

public enum StoreRegisterExceptionCode {

    STORE_NAME_IS_EXIST(5020,"商铺名称已存在"),
    REGISTER_IS_EXIST(5021,"商铺注册已提交"),
    REGISTER_COUNT_ZERO(5022,"还未有商户注册"),
    REGISTER_IS_CHECKED(5023,"商铺注册已审核过"),

    REGISTER_IS_NOT_EXIST(5025,"该账户未注册过商铺"),

    REGISTER_IS_PASSED(5024,"商铺注册已通过");




    Integer code;
    String message;

    StoreRegisterExceptionCode() {
    }

    StoreRegisterExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String exceptionName) {
        this.message = exceptionName;
    }
}
